<script type="text/javascript">
	function submitenter(myfield, e) {
		var keycode;
		if (window.event)
			keycode = window.event.keyCode;
		else if (e)
			keycode = e.which;
		else
			return true;

		if (keycode == 13) {
			submitForm();
			return false;
		} else
			return true;
	}

	function submitForm() {
		$('#form_login').submit();
	}
</script>